#if !defined(AFX_AWTBUTTONPEER_H__CE760842_3E56_11D2_A3F0_006097A44215__INCLUDED_)
#define AFX_AWTBUTTONPEER_H__CE760842_3E56_11D2_A3F0_006097A44215__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// AWTButtonPeer.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// AWTButtonPeer window

class AFX_EXT_CLASS AWTButtonPeer : public CButton
{
DECLARE_DYNAMIC(AWTButtonPeer)
// Construction
public:
	AWTButtonPeer(AWTComponent* comp);

// Attributes
public:

// Operations
public:

	void setComponent(AWTComponent* comp)
		{m_comp = comp;}

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(AWTButtonPeer)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~AWTButtonPeer();

	void setDefault(BOOL b);

	// Generated message map functions
protected:
	//{{AFX_MSG(AWTButtonPeer)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnMove(int x, int y);
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	afx_msg void OnClicked();
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSetFocus(CWnd* pOldWnd);
	afx_msg void OnKillFocus(CWnd* pNewWnd);
	afx_msg void OnDestroy();
	afx_msg UINT OnGetDlgCode();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()

	AWTComponent* m_comp;
	CWnd* m_AWTWindow;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_AWTBUTTONPEER_H__CE760842_3E56_11D2_A3F0_006097A44215__INCLUDED_)
